//
//  DsErYiModel.m
//  Tour
//
//  Created by 张张烨 on 16/3/9.
//  Copyright © 2016年 张中烨. All rights reserved.
//

#import "DsErYiModel.h"

@implementation DsErYiModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"user"]) {
        self.image = value[@"image"];
        self.username = value[@"name"];
        self.userid = value[@"id"];
    }
    // id 与系统名重复
    if ([key isEqualToString:@"id"]) {
        self.cid = value;
    }
}
@end
